ChangePart
TheChangePart
method assigns a new part to this frame.
void ChangePart (in ODPart part);
part
- A reference to a part to associate with this frame.
DISCUSSION
Your part calls this method when it wants to keep one embedded frame and swap parts in and out of it, as is typical for browser-type parts. This method in turn calls theFacetRemoved
method associated with this frame's part to remove all facets of this frame from its previous part. This method can also call theFacetAdded
method associated with this frame's new part to add all facets associated with the previous part.Unless this frame was removed or closed, you can always assume that this frame previously had a part.
EXCEPTIONS
kODErrIllegalNullPartInput
- The
part
parameter is null.SEE ALSO
TheODPart::FacetAdded
method (page 514).
TheODPart::FacetRemoved
method (page 515).
"Sharing Palettes and Utility Windows" on page 238 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help